.TH "WIMENU" 1 "May, 2010" "wmii-@VERSION@"

.SH NAME
.P
wihack \- The wmii window hack

.SH SYNOPSIS
.P
wihack \fI[\-transient \fI<window>\fR]\fR \fI[\-type \fI<ewmh window type>\fR]\fR \fI[\-tags \fI<tags>\fR]\fR \fI<program>\fR

.SH DESCRIPTION
.P
\fBwihack\fR is a program which alters the windows created by an
arbitrary program. It has the name \fBwihack\fR because it is just that:
a hack. It uses LD_PRELOAD to override certain Xlib calls and add
properties to newly created windows.

.SH ARGUMENTS
.TP
\-transient \fI<window>\fR
Marks created windows as transient for a given \fI<window>\fR.
This causes the new window to open in the floating layer of
the same tags as \fI<window>\fR.
.TP
\-type \fI<ewmh window type>\fR
Sets the EWMH window type of the created window to the type
given. \fBwmii\fR understands the following types:

.RS 8
.TP
dialog
Opens in the floating layer.
.TP
dock
.TP
menu
.TP
toolbar
Automatically opens in the floating layer. Does not
have a window border or titlebar.
.TP
splash
Automatically floats and does not automatically
receive focus.
.RS -8
.TP
\-tags \fI<tags>\fR
The created window opens on the given tags.

.SH BUGS
.P
It is a hack.

.P
It doesn't work for setuid programs.

.P
It doesn't work for non\-Xlib programs.

.SH SEE ALSO
.P
wmii(1)


.\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
.\" cmdline: txt2tags -o- wihack.man1

